Skip to content

Conversation

@ggouaillardet
Copy link
Contributor

hwloc v1.5 does not support HWLOC_OBJ_OSDEV_COPROC
nor hwloc_topology_dup(), so for this version :

  • do not search for coprocessors
  • do not try hwloc_topology_dup(), note this is not
    used anywhere in the code base

Signed-off-by: Gilles Gouaillardet [email protected]

return hwloc_topology_dup(dest, src);
#else
/* hwloc v1.5 does not support hwloc_topology_dup.
* note this copy function is not used anywhere in the code base yet */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would change this comment to:

/* hwloc_topology_dup() was introduced in hwloc v1.8.0.
 * Note that as of March 2017, opal_hwloc_copy() is not (yet?) used in the code base anywhere. */

(NULL == cpstring) ? "NONE" : cpstring));
#else
OPAL_OUTPUT_VERBOSE((5, opal_hwloc_base_framework.framework_output,
"hwloc:base:find_coprocessors: this hwloc version cannot find any coprocessor"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would change this message to:

hwloc:base:find_coprocessors: the version of hwloc that Open MPI was built against (v%d.%d.%d) does not support detecting coprocessors

hwloc v1.5 does not support HWLOC_OBJ_OSDEV_COPROC
nor hwloc_topology_dup(), so for this version :
- do not search for coprocessors
- do not try hwloc_topology_dup(), note this is not
  used anywhere in the code base

Thanks Jeff for helping with the wording

Signed-off-by: Gilles Gouaillardet <[email protected]>
@ggouaillardet
Copy link
Contributor Author

@jsquyres done, thanks for helping with the wording.
i made jsquyres#1 and jsquyres#2 so this can be pulled directly into #3067 and #3066

@ggouaillardet
Copy link
Contributor Author

@jsquyres shall i merge this PR now ?
(so you can move forward and merge the PR i made to your repo branches for v2

@jsquyres jsquyres merged commit c2adf35 into open-mpi:master Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants